import requests
import parsel

url = 'http://www.kfc.com.cn/kfccda/ashx/GetStoreList.ashx?op=keyword'

headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36'
}
data = {
    'cname': '',
    'pid': '',
    'keyword': '徐家汇',
    'pageIndex': '1',
    'pageSize': '10',
}
resp = requests.post(url=url, data=data, headers=headers)
print(resp.json())